package com.clpms.dao.mapper;

import com.clpms.dao.pojo.School;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author caixinyong
 * @date 2023/5/5 3:46 PM
 */

@Mapper
public interface SchoolDao {

	Long insertBatch(@Param("schoolList") List<School> schoolList);

	List<School> selectByNameList(@Param("nameList") List<String> nameList);

	List<School> queryAllSchool();

	School selectById(@Param("id") Long id);
}
